<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>

<body>
<script type="module">
    import './index.js'; //推荐
</script>
<xy-button>button</xy-button>
</body>

</html>